package com.suxin.design.facade;

/**
 * @author Tang
 * @classname DVDPlayer
 * @description [  ]
 * @date 2022/12/30 15:34
 */
public class DVDPlayer {

    private static DVDPlayer instance = new DVDPlayer();

    public static DVDPlayer getInstanc() {
        return instance;
    }
    public void on() {
        System.out.println(" dvd on ");
    }
    public void off() {
        System.out.println(" dvd off ");
    }

}
